package com.diandi.signature.mapper;

import com.diandi.signature.bean.contract.SignatureContractDetail;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * 合同明细生成Mapper接口
 * @author mwz
 * @create 2017-08-23 14:03
 * @version V1.0.0
 */
@Repository
public interface SignatureContractDetailMapper {

    /**
     * 插入合同明细消息
     * @param signatureContractDetail
     * @return
     */
    public Integer insertSignatureContractDetail(SignatureContractDetail signatureContractDetail);

    /**
     * 更新合同消息
     * @param signatureContractDetail
     * @return
     */
    public Integer updateSignatureContractDetail(SignatureContractDetail signatureContractDetail);

    Integer updateBySignatureCode(Map<String, String> paramMap);
}
